package main

import (
	"gochat/common"
	"gochat/route"
)

func init() {
	err := common.InitSystem()
	if err != nil {
		panic(err)
	}
}

func main() {
	r := route.Router()
	r.Run(":8080")
}
